<div class="panel panel-default panel-intro">
    
    <style>
        a,div{
            font-style: normal;
        }
    </style>
    
    <div class="panel-heading">
        <div class="panel-lead"><em>素材列表</div>
        <ul class="nav nav-tabs">
            <li class="active"><a href="#first" data-toggle="tab">{:__('图片')}</a></li>
            <li><a href="#second" data-toggle="tab">{:__('视频')}</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="first">
                <div id="toolbar1" class="toolbar">
                    {:build_toolbar('refresh')}
                    <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('yalimedia/media/add')?'':'hide'}"><i class="fa fa-cloud-upload"></i> <span id="btn_title">{:__('上传图片')}</span></a>
                </div>
                <table id="table1" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
            <div class="tab-pane fade" id="second">
                <div id="toolbar2" class="toolbar">
                    {:build_toolbar('refresh')}
                    <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('yalimedia/media/add')?'':'hide'}"><i class="fa fa-cloud-upload"></i> <span id="btn_title">{:__('上传视频')}</span></a>
                </div>
                <table id="table2" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
        </div>
    </div>
</div>